﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../../fly/fly.js" type="text/javascript"></script>
    <script src="../../fly.ui.js" type="text/javascript"></script>
    <script src="../../plugins/combo/combo.js" type="text/javascript"></script>
    <script src="../../../fly.mini/fly.mini-all.js" type="text/javascript"></script>
    <link href="../../../fly.mini/tree/skin/default/tree.css" rel="stylesheet" type="text/css" />
    <link href="../../plugins/themes/plain/combo.css" rel="stylesheet" type="text/css" />
</head>
<body>
    单选
    <input id="parent" />
    <script type="text/javascript">

        var combo = new $.ui.ComboTree({
            wrap: "#parent",
            hiddenName: "parent",
            padHeight:100,
            tree: {
                items: [1, 2, 3, 4, 5, 6]
            }
        })

        
    </script>
    <br />
    <br />
    多选
    <input id="parent2" />
    <script type="text/javascript">

        var combo2 = new $.ui.ComboTree({
            wrap: "#parent2",
            tree: {
                selectionMode: fly.mini.selectionMode.multi,
                items: [1, 2, 3, 4, 5, 6]
            }
        })

        
    </script>
</body>
</html>
